package com.langfeiyes.pattern.factory.abstr;

//小米工厂-子类
public class XMProductFactory implements ProductFactory{
    @Override
    public PhoneProduct createPhone() {
        return new XMPhoneProduct();
    }

    @Override
    public ComputerProduct createComputer() {
        return new XMComputerProduct();
    }
}
